<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;padding: 0;
        }
        h1{
            position: absolute;
            top: 15%;
            left: 5%;
        }
        i{
            font-style: normal;
            color:rgb(135, 142, 235);
        }
        .user{
            width: 90%;
            height: 30px;
            position: absolute;
            top: 30%;
            left: 4%;
            border:none;
            border-bottom: 1px solid #000;
            opacity: 0.7;
            outline: none;
        }
        .password{
            width: 90%;
            height: 30px;
            position: absolute;
            top: 40%;
            left: 4%;
            border:none;
            border-bottom: 1px solid #000;
            opacity: 0.7;
            outline: none;
        }
        button{
            position: absolute;
            top: 50%;
            width: 90%;
            left: 4%;
            height: 35px;
            border-radius: 35px;
            border: none;
            opacity: 0.7;
        }
        .operate{
            position: absolute;
            top: 56%;
            display: flex;
            justify-content: space-between;
            width: 90%;
            left: 4%;
            color: rgb(135, 142, 235);
        }
        .check{
            position: absolute;
            bottom: 10%;
            font-size: 14px;
            left: 4%;
        }
    </style>
    
</head>
<body>
    <div id="app">
        <h1>密码登录</h1>
        <input type="text" class="user" placeholder="手机/用户名" v-model="userName">
        <input type="password" class="password" placeholder="密码" v-model="password">
        <button @click="add">登录</button>
        <div class="operate">
            <span>手机号登录</span>
            <span>忘记密码</span>
        </div>
        <div class="check">
            <input type="radio">
            <span>已阅读并同意<i>《用户服务协议》</i>、<i>《隐私政策》</i></span>
        </div>
    </div>
    
</body>
</html>
<script src="./vue-2.5.21.js"></script>
<script src="./登陆.js"></script>